package com.gnerv.battle.boot.security.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.util.Collection;

/**
 * @author Gnerv LiGen
 */
@Getter
@Setter
public class LoginAccountDetails extends User {

    private String ukId;
    private String tenantUkId;

    public LoginAccountDetails(String username, String password, Collection<? extends GrantedAuthority> authorities) {
        super(username, password, authorities);
    }

}
